const loading = {
  state: {
    isLoading: false
  },
  mutations: {
    toggleLoading (state, flag) {
      state.isLoading = flag
    }
  },
  getter: {
    isLoading: state => state.isLoading
  }
}
export default loading
